//
//  ViewImage.h
//  weibo3
//
//  Created by Tian Wu on 11-4-16.
//  Copyright 2011年 nfsysu. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import <WebKit/WebKit.h>
#import "RootViewController.h"
#import "newTweet.h"
#import "newDM.h"
#import "commentViewController.h"

@class RootViewController;
@class newTweet;
@class newDM;
@class commentViewController;



@interface ViewImage : NSWindowController {

    IBOutlet NSTextField *name;
    IBOutlet NSTextField *fans;
    IBOutlet NSTextField *descrip;
    IBOutlet NSImageView *img;
    IBOutlet NSButton *isfollowing;
    //IBOutlet NSTextView *text;
    IBOutlet NSTextField *text;
    
    IBOutlet NSButton *dButton;
    
    
    IBOutlet RootViewController *_rootViewController;
    IBOutlet WebView *imageView;
    
    newTweet *newTweetWindow;
    newDM *newDMWindow;
    commentViewController *commentWindow;
    
    Status *thisStatus;
}

@property (readwrite, retain) Status *thisStatus;

- (BOOL)edit:(Status *)startingValues from:(id)sender;

- (IBAction) cancel:(id) sender;
- (IBAction) didRetweet:(id) sender;
- (IBAction) didCommon:(id) sender;

@end
